package org.divineryang.mapper;

import org.divineryang.model.dto.product.ProductDto;
import org.divineryang.model.entity.product.Product;

import java.util.List;

/**
 * @program new-bee
 * @Description
 * @Author Diviner Yang
 * @Date 2024/04/27 9:04
 * @Version 1.0
 */
public interface ProductMapper {
    List<Product> findByPage(ProductDto productDto);

    void save(Product product);

    Product selectById(Long id);

    void updateById(Product product);

    void deleteById(Long id);
}
